﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Tools.EContract.Dto
{
    /// <summary>
    /// 成团约定信息
    /// </summary>
    public class GroupAgreement
    {
        /// <summary>
        /// 如不能成团的其他解决办法，1: 委托其他社，2: 延期出团，3: 改签其他路线，4: 解除合同。
        /// 允许值: 1, 2, 3, 4
        /// </summary>
        public int resolution { get; set; }
        /// <summary>
        /// 最低成团人数
        /// </summary>
        public int leastCustomerNumber { get; set; }
        /// <summary>
        /// 是否同意委托其它社组团
        /// </summary>
        public bool agreeToTransfer { get; set; }
        /// <summary>
        /// 受委托社信息，如果有必填
        /// </summary>
        public string transferToCompanyName { get; set; }
        /// <summary>
        /// 是否同意延期
        /// </summary>
        public bool agreeToDelay { get; set; }
        /// <summary>
        /// 是否同意改为其它线路
        /// </summary>
        public bool agreeToChangeLine { get; set; }
        /// <summary>
        /// 是否同意解除合同
        /// </summary>
        public bool agreeToTerminate { get; set; }
        /// <summary>
        /// 是否同意拼团
        /// </summary>
        public bool agreeToMerge { get; set; }
        /// <summary>
        /// 拼团旅行社名称，如果有必填
        /// </summary>
        public string mergeToCompanyName { get; set; }
    }
}
